package cn.exrick.pojo.front;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import cn.exrick.pojo.TbPreferential;
import lombok.Data;

/**
 * @author Exrickx
 */
@Data
public class CartProduct implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long productId;

    private BigDecimal salePrice;

    private BigDecimal original;

    private Long productNum;

    private Long limitNum;

    private String checked;

    private String productName;

    private String productImg;

    //===============================
    private Integer num;//库存

    private List<TbPreferential> preferentials;

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public BigDecimal getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}

	public BigDecimal getOriginal() {
		return original;
	}

	public void setOriginal(BigDecimal original) {
		this.original = original;
	}

	public Long getProductNum() {
		return productNum;
	}

	public void setProductNum(Long productNum) {
		this.productNum = productNum;
	}

	public Long getLimitNum() {
		return limitNum;
	}

	public void setLimitNum(Long limitNum) {
		this.limitNum = limitNum;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductImg() {
		return productImg;
	}

	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public List<TbPreferential> getPreferentials() {
		return preferentials;
	}

	public void setPreferentials(List<TbPreferential> preferentials) {
		this.preferentials = preferentials;
	}
}
